Skip to content

Conversation

@Malax
Copy link
Member

@Malax Malax commented Nov 5, 2025

This replaces the sbt-extras wrapper script with a simpler approach that downloads and verifies the sbt launcher jar directly from Maven Central (or Typesafe Ivy for 0.x versions).

The new implementation:

  • Downloads the correct launcher jar for the sbt version specified in project/build.properties
  • Verifies downloads with SHA-1 checksums
  • Caches the launcher jar to avoid re-downloading on subsequent builds
  • Uses conditional URLs for sbt 0.x (Typesafe Ivy) vs 1.x+ (Maven Central)
  • Configures sbt cache directories (ivy, coursier, boot, global) via SBT_OPTS
  • Removes the need for maintaining sbt-extras and sbt-wrapper scripts

The sbt global directory is now recreated on each build to ensure plugins are always current.

@Malax Malax force-pushed the malax/sbt-launcher-improvements branch 7 times, most recently from 022a131 to a751cda Compare November 7, 2025 09:51
@Malax Malax force-pushed the malax/sbt-launcher-improvements branch from a751cda to 52fb9e0 Compare November 7, 2025 10:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant